<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<%@include file="/WEB-INF/jsp/include/tags.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>contentCount - write</title>
	<link rel="stylesheet" type="text/css" href="/css/style.css"/>
	<script type="text/javascript">
	<!--
		function goList() {
			var f = document.contentCountCriteriaForm;
			f.submit();
		}
	//-->
	</script>
</head>
<body>
	
	<p><a href="/">home</a></p>
	
	<h1>ContentCount - write</h1>
	
	<form:form commandName="contentCountCriteria" id="contentCountCriteriaForm" name="contentCountCriteriaForm" action="/contentCount.do" method="get">
	<input type="hidden" name="mode"/>
	<form:hidden path="contentId"/>
	<form:hidden path="paging.currentPage"/>
	</form:form>

	<form:form commandName="contentCount" name="contentCountForm" action="/contentCountWrite.do">
	<input type="hidden" name="mode" value="write"/>
	<table width="800">
		<colgroup width="800">
			<col width="100"/>
			<col width="*"/>
		</colgroup>
		<tr>
			<th>contentId</th>
			<td>
				<form:input path="contentId"/>
				<form:errors path="contentId" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>views</th>
			<td>
				<form:input path="views"/>
				<form:errors path="views" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>viewsMonth</th>
			<td>
				<form:input path="viewsMonth"/>
				<form:errors path="viewsMonth" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>viewsWeek</th>
			<td>
				<form:input path="viewsWeek"/>
				<form:errors path="viewsWeek" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>viewsDay</th>
			<td>
				<form:input path="viewsDay"/>
				<form:errors path="viewsDay" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>comments</th>
			<td>
				<form:input path="comments"/>
				<form:errors path="comments" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>commentsMonth</th>
			<td>
				<form:input path="commentsMonth"/>
				<form:errors path="commentsMonth" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>commentsWeek</th>
			<td>
				<form:input path="commentsWeek"/>
				<form:errors path="commentsWeek" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>commentsDay</th>
			<td>
				<form:input path="commentsDay"/>
				<form:errors path="commentsDay" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>downloads</th>
			<td>
				<form:input path="downloads"/>
				<form:errors path="downloads" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>downloadsMonth</th>
			<td>
				<form:input path="downloadsMonth"/>
				<form:errors path="downloadsMonth" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>downloadsWeek</th>
			<td>
				<form:input path="downloadsWeek"/>
				<form:errors path="downloadsWeek" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>downloadsDay</th>
			<td>
				<form:input path="downloadsDay"/>
				<form:errors path="downloadsDay" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>ups</th>
			<td>
				<form:input path="ups"/>
				<form:errors path="ups" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>upsMonth</th>
			<td>
				<form:input path="upsMonth"/>
				<form:errors path="upsMonth" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>upsWeek</th>
			<td>
				<form:input path="upsWeek"/>
				<form:errors path="upsWeek" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>upsDay</th>
			<td>
				<form:input path="upsDay"/>
				<form:errors path="upsDay" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>downs</th>
			<td>
				<form:input path="downs"/>
				<form:errors path="downs" cssClass="errorMessage"/>
			</td>
		</tr>
	</table>
	<input type="submit" value="write"/>
	</form:form>

	<a href="javascript:goList();">list</a>

</body>
</html>
